package com.ejiaoyi.api.model.chaincode;


import com.alibaba.fastjson.annotation.JSONField;
import com.ejiaoyi.api.model.CcResBean;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;

/**
 * 功能描述：
 *
 * @Created by 2019-09-04 09:41
 */

public class BodyBean {

    @JsonProperty("api_key")
    @JSONField(name = "api_key")
    @ApiModelProperty(value = "API KEY",  required = true)
    private BlockInfoBean blockInfo;

    private CcResBean ccRes;

    private  String baseKey;

    public BlockInfoBean getBlockInfo() {
        return blockInfo;
    }

    public void setBlockInfo(BlockInfoBean blockInfo) {
        this.blockInfo = blockInfo;
    }

    public CcResBean getCcRes() {
        return ccRes;
    }

    public void setCcRes(CcResBean ccRes) {
        this.ccRes = ccRes;
    }

    @Override
    public String toString() {
        return "BodyBean{" +
                "blockInfo=" + blockInfo +
                ", ccRes=" + ccRes +
                '}';
    }

    public String getBaseKey() {
        return baseKey;
    }

    public void setBaseKey(String baseKey) {
        this.baseKey = baseKey;
    }
}
